﻿using SqlSugar;
using System;

namespace Configuration.ServerApi.Entity
{
    /// <summary>
    /// 菜单信息表
    /// </summary>
    [SugarTable("sys_menu")]
    public class sys_menu
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 类型  0: 菜单 1: 顶部按钮 2: 列尾按钮
        /// </summary>
        public string Type { get; set; }

        /// <summary>
        /// 菜单英文名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 菜单路由地址
        /// </summary>
        public string Path { get; set; }

        /// <summary>
        /// 菜单视图文件地址
        /// </summary>
        public string Component { get; set; }

        /// <summary>
        /// 菜单重定向跳转路由地址
        /// </summary>
        public string Redirect { get; set; }

        /// <summary>
        /// 菜单标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 菜单图标
        /// </summary>
        public string Icon { get; set; }

        /// <summary>
        /// 所属父级菜单ID
        /// </summary>
        public string ParentId { get; set; }

        /// <summary>
        /// 排序号
        /// </summary>
        public int? Sort { get; set; } = 0;

        /// <summary>
        /// 是否隐藏  true: 隐藏  false: 不隐藏
        /// </summary>
        public string Hidden { get; set; }

        /// <summary>
        /// 是否存在子级菜单  true: 是  false: 否
        /// </summary>
        public string AlwaysShow { get; set; }

        /// <summary>
        /// 备注信息
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 是否删除  0: 未删除 1: 已删除
        /// </summary>
        public int? Del_Flag { get; set; } = 0;

    }
}
